Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.admin.audit.contentView.contrib--contentViews

This contribution is part of XML component org.nuxeo.admin.audit.contentView.contrib inside nuxeo-admin-center-6.0.jar

Extension Point

Extension point contentViews of component ContentViewService.

Contributed Items

  • <contentView name="EVENTS_VIEW">
    
          <title>label.contentview.document.history</title>
          <translateTitle>true</translateTitle>
          <showTitle>true</showTitle>
    
          <pageProvider name="EVENTS_VIEW">
            <property name="coreSession">#{documentManager}</property>
            <property name="generateUIComments">false</property>
          </pageProvider>
    
          <searchLayout filterDisplayType="quick" name="fullauditsearch"/>
          <showFilterForm>true</showFilterForm>
    
          <showPageSizeSelector>true</showPageSizeSelector>
          <useGlobalPageSize>true</useGlobalPageSize>
          <refresh>
            <event>documentChanged</event>
            <event>documentCreated</event>
          </refresh>
          <cacheSize>10</cacheSize>
          <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}</cacheKey>
    
          <resultLayouts>
            <layout iconPath="/icons/document_listing_icon.png" name="event_listing" showCSVExport="true" showPDFExport="false" title="history_listing" translateTitle="true"/>
          </resultLayouts>
    
        </contentView>

XML Source

<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">

    <contentView name="EVENTS_VIEW">

      <title>label.contentview.document.history</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>

      <pageProvider name="EVENTS_VIEW">
        <property name="coreSession">#{documentManager}</property>
        <property name="generateUIComments">false</property>
      </pageProvider>

      <searchLayout filterDisplayType="quick" name="fullauditsearch"/>
      <showFilterForm>true</showFilterForm>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChanged</event>
        <event>documentCreated</event>
      </refresh>
      <cacheSize>10</cacheSize>
      <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}</cacheKey>

      <resultLayouts>
        <layout iconPath="/icons/document_listing_icon.png" name="event_listing" showCSVExport="true" showPDFExport="false" title="history_listing" translateTitle="true"/>
      </resultLayouts>

    </contentView>
  </extension>